package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.common.dto.PageDTO;
import com.leyou.item.dto.BrandDTO;
import com.leyou.item.entity.Brand;

import java.util.List;

public interface BrandService extends IService<Brand> {

    List<BrandDTO> listBrandByIds(List<Long> ids);

    List<BrandDTO>queryBrandByCategoryId(Long cid);


    BrandDTO queryBrandById(Long bid);

    PageDTO<BrandDTO> queryPage(Integer page, Integer rows);


    void addBrand(BrandDTO brandDTO);

    void updateBrand(BrandDTO brandDTO);

    void deleteBrandById(Long id);
}
